package com.token.mapper;

import com.token.bean.Jin;
import com.token.bean.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户注册表 Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2019-07-30
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> selectMyPage(@Param("param") Map map);
    Integer  countMyPage (@Param("param")Map map);

    List<Jin> selectByStatus(@Param("param") Map map);
    Integer  countByStatus (@Param("param")Map map);

    //解绑
    Integer updateTel(@Param("id")Long id);

    //禁用
    Integer updateByTelStatus(@Param("telStatus")String telStatus);
    Integer qi(@Param("telStatus")String telStatus);
    List<User> selectTel();

}
